<?php include 'header.php' ?>

	<div class="container">
		<div class="row">
			<div class="span4 offset4 well">
				<legend>Đăng nhập</legend>
				<?php if ((isset($error)) && $error):?>
					<div class="alert alert-error">
					 <a class="close" data-dismiss="alert" href="#">Ã—</a>Sai tên hoặc mật khẩu!
					</div>
				<?php endif;?>
				
				<?php echo form_open('login/login_user')?>
				<input type="text" id="email" class="span4" name="username" placeholder="Tên tài khoản">
				<input type="password" id="password" class="span4" name="password" placeholder="Mật khẩu">
				<button type="submit" name="submit" class="btn btn-info btn-block">Đăng nhập</button>
			</div>
		</div>
	</div>

<?php include 'footer.php' ?>